package microcredit.model.domain;

public enum TrainingStatus {

	/**
	 * Planned
	 */
	P,
	/**
	 * Attended
	 */
	A,
	/**
	 * Missed
	 */
	M;
	
	
	public String getDisplayName() {
		switch (this) {
		case A : return "Attended";
		case M : return "Missed";
		case P : return "Planned";
		}
		return "Invalid status";
	}
	
}
